home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / bash-1.12 / dist / examples / startup-files / Bashrc < prev   
Encoding:
Text File  |  1991-07-07  |  1.8 KB  |  73 lines

  1. # Bourne Again SHell init file.
  2. #
  3. # Files you make look like rw-rw-r
  4. umask 002
  5.  
  6. # Don't make useless coredump files.  If you want a coredump,
  7. # say "ulimit -c unlimited" and then cause a segmentation fault.
  8. ulimit -c 0
  9.  
  10. # Sometimes, there are lots of places that one can find tex inputs.
  11. export TEXINPUTS=.:$HOME/bin:/usr/lib/tex/inputs:/usr/local/lib/tex/inputs
  12.  
  13. # Where's the Gnu stuff at?
  14. GNU=/usr/gnu/bin
  15. X11=/usr/bin/X11
  16.  
  17. UTIL_PATH=$GNU:$X11
  18. STANDARD_PATH=/usr/local/bin:/usr/ucb:/bin:/usr/bin:/usr/etc:/etc:/usr/games
  19. if [ "$HOSTTYPE" = "sony" ]; then STANDARD_PATH=STANDARD_PATH:/usr/sony/bin; fi
  20.  
  21. if [ -d $HOME/bin/$HOSTTYPE ]; then
  22.   MY_PATH=$HOME/bin/$HOSTTYPE
  23. fi
  24.  
  25. if [ -d $HOME/bin ]; then
  26.   MY_PATH=$MY_PATH:$HOME/bin
  27. fi
  28.  
  29. if [ -d /usr/hosts ]; then
  30.   STANDARD_PATH=$STANDARD_PATH:/usr/hosts
  31. fi
  32.  
  33. PATH=.:$MY_PATH:$UTIL_PATH:$STANDARD_PATH
  34.  
  35. # If running interactively, then:
  36. if [ "$PS1" ]; then
  37.  
  38.   # Set ignoreeof if you don't want EOF as the sole input to the shell to
  39.   # immediately signal a quit condition.  This only happens at the start
  40.   # of a line if the line is empty, and you haven't just deleted a character
  41.   # with C-d.  I turn this on in ~/.bash_profile so that only login shells
  42.   # have the right to be obnoxious.
  43.   # ignoreeof=
  44.  
  45.   # Set auto_resume if you want to resume on "emacs", as well as on
  46.   # "%emacs".
  47.   auto_resume=
  48.  
  49.   # Set notify if you want to be asynchronously notified about background
  50.   # job completion.
  51.   notify=
  52.  
  53.   # Make it so that failed `exec' commands don't flush this shell.
  54.   no_exit_on_failed_exec=
  55.  
  56.   if [ ! "$LOGIN_SHELL" ]; then
  57.     PS1="\u@\h\$ "
  58.   fi
  59.  
  60.   HISTSIZE=256
  61.   MAILCHECK=60
  62.  
  63.   # A couple of default aliases.
  64.   alias j='jobs -l'
  65.   alias po=popd
  66.   alias pu=pushd
  67.   alias ls='ls -F'
  68.  
  69.   if [ -f ~/.bash_aliases ]; then
  70.     source ~/.bash_aliases
  71.   fi
  72. fi
  73.